﻿// JScript 文件
 function ChangeImage()
       {
         document.getElementById("image1").src="CreateImage.aspx";
       }
    function CompareCode(s)
       {
          if(s==null)
           return;
          var cookie=document.cookie;
          var list=cookie.split("=");        
          var code=list[list.length-1];
         
          if(code!=s)
          {         
            document.getElementById("AuthSpan").innerText="验证码输入不正确";
            document.getElementById("image1").src="CreateImage.aspx";
            return false;
          }
          else
          {
             document.getElementById("AuthSpan").innerText="";
             return true;
          }
       }
function MouseOver()
{
  var obj=event.srcElement;
 
  obj.style.color='purple';
  obj.style.textDecoration='underline';
  obj.style.fontSize='16pt';
}
function MouseOut()
{

   var obj=event.srcElement; 
  obj.style.color='orange';
  obj.style.textDecoration='none';
  obj.style.fontSize='12pt';
}
